import java.util.ArrayList;
import java.util.Collections;


public class Player {
	private String name;
	private int money=100;
	private ArrayList<String>hand = new ArrayList();
	public void sethand(ArrayList<String> poker){
		Collections.shuffle(poker);
		for(int i=0;i<5;i++){
			hand.add(poker.get(i));
		}
	}
	public void discard(){
		for(int i=0;i<5;i++){
			hand.remove(0);
		}
	}
	public ArrayList<String> getHand() {
		return hand;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setMoney(int money) {
		this.money = this.money+money;
	}
	public int getMoney() {
		return money;
	}
}
